package com.newsproject.pojo;

import java.util.Date;

public class Heart {
    private int likeId;
    private int userId;
    private int postId;
    private Date createdTime;
    public Heart() {
    }
    public Heart(int likeId, int userId, int postId, Date createdTime) {
        this.likeId = likeId;
        this.userId = userId;
        this.postId = postId;
        this.createdTime = createdTime;
    }
    public int getLikeId() {
        return likeId;
    }
    public void setLikeId(int likeId) {
        this.likeId = likeId;
    }
    public int getUserId() {
        return userId;
    }
    public void setUserId(int userId) {
        this.userId = userId;
    }
    public int getPostId() {
        return postId;
    }
    public void setPostId(int postId) {
        this.postId = postId;
    }
    public Date getCreatedTime() {
        return createdTime;
    }
    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }
}
